.class final Lnet/tsapps/topdeals/ao;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field private synthetic a:Lnet/tsapps/topdeals/aj;


# direct methods
.method constructor <init>(Lnet/tsapps/topdeals/aj;)V
    .locals 0

    iput-object p1, p0, Lnet/tsapps/topdeals/ao;->a:Lnet/tsapps/topdeals/aj;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .locals 5

    iget-object v0, p0, Lnet/tsapps/topdeals/ao;->a:Lnet/tsapps/topdeals/aj;

    iget-object v0, v0, Lnet/tsapps/topdeals/aj;->a:Lnet/tsapps/topdeals/PreferencesActivity;

    invoke-static {v0}, Lnet/tsapps/topdeals/PreferencesActivity;->e(Lnet/tsapps/topdeals/PreferencesActivity;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/ao;->a:Lnet/tsapps/topdeals/aj;

    iget-object v0, v0, Lnet/tsapps/topdeals/aj;->a:Lnet/tsapps/topdeals/PreferencesActivity;

    new-instance v1, Landroid/app/AlertDialog$Builder;

    invoke-direct {v1, v0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const-string v2, "Fehler beim Laden der Konfiguration.\nErneut versuchen?"

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/app/AlertDialog$Builder;->setCancelable(Z)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    const-string v3, "Ja"

    new-instance v4, Lnet/tsapps/topdeals/am;

    invoke-direct {v4, v0}, Lnet/tsapps/topdeals/am;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v2, v3, v4}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    const-string v3, "Nein"

    new-instance v4, Lnet/tsapps/topdeals/an;

    invoke-direct {v4, v0}, Lnet/tsapps/topdeals/an;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v2, v3, v4}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    invoke-virtual {v1}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog;->show()V

    return-void
.end method
